﻿using System;
using Lintop.ePos.Common.DataAccess;

namespace PowerToolsWeb.DataAccess
{
    public partial class Tpt_Companyinfo : DataAccessBase
    {
        //TODO: 请把你的方法添加在这里
        public bool GetIntroduction()
        {
            string sql = @"SELECT Introduction
                            FROM  Tpt_CompanyInfo
                            limit 0,1";
            return SelectBySql(sql);
        }
        public bool GetCompanyInfo()
        {
            string sql = @"SELECT CompanyID, 
                                CompanyName,
                                Contactor,
                                ContactTel,
                                MOBILEPHONE,
                                QQ,
                                QQSigkey,
                                Address
                                FROM Tpt_CompanyInfo limit 0,1";
            return SelectBySql(sql);
        }
    }

    public partial class Tpt_CompanyinfoCollection : DataAccessCollectionBase
    {
        //TODO: 请把你的方法添加在这里
    }
}
